package org.BUPT.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Service
@FeignClient("QuestionService")
public interface QuestionService {
    @GetMapping("/page/{pageId}")
    String getPage(@PathVariable int pageId);
}
